package com.jyw.business.ast.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jyw.common.annotation.Excel;
import com.jyw.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 资产-耗材-记录对象 ast_consumable_record
 * 
 * @author system
 * @date 2023-10-24
 */
@Data
@TableName("ast_consumable_record")
@ApiModel("资产-耗材-记录实体")
public class AstConsumableRecord
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 类型(1申领 2入库 3出库) */
    @ApiModelProperty("类型(1申领 2入库 3出库)")
    @Excel(name = "类型(1申领 2入库 3出库)")
    private String type;

    @ApiModelProperty("业务主键")
    private Long businessId;

    /** 耗材 */
    @ApiModelProperty("耗材")
    @Excel(name = "耗材")
    private Long consumableId;

    /** 数量 */
    @ApiModelProperty("数量")
    @Excel(name = "数量")
    private Integer quantity;

    /** 备注 */
    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    /** 附件 */
    @ApiModelProperty("附件")
    @Excel(name = "附件")
    private String enclosureId;

    /** 创建人 */
    @ApiModelProperty("创建人")
    @Excel(name = "创建人")
    private Long createUser;

    /** 创建时间 */
    @ApiModelProperty("创建时间")
    private Date createTime;

}
